<?php


namespace App\Models;


use App\Engine\BaseModel;

class CouponRule extends BaseModel
{
    protected $table = 'coupon_rule';
    public $timestamps = false;

    protected $fillable = [
        'day',
        'price',
    ];

    public $rule=[
        'day'=>'required',
        'price'=>'required',

    ];
    public $ruleMessage=[
        'day.required'=>"请选择天数",
        'price.required'=>"请输入价格",
    ];
}
